﻿<%@ Page Language="C#" MasterPageFile="~/admin/MasterPage.master" AutoEventWireup="true" CodeFile="ThemSP.aspx.cs" Inherits="admin_ThemSP" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
<div>
        <div class="title">
            Thêm Mặt Hàng mới
        </div>                  
        <div>
          <table width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#cccccc"> 
                 <tr>
                    <td style="width:30%">Tên Mặt Hàng</td>
                    <td style="width:60%"><asp:TextBox ID="txt_TenSP" runat="server"></asp:TextBox></td>
                </tr> 
                <tr>
                    <td style="width:30%">Danh Mục</td>
                    <td style="width:60%">
                        <asp:DropDownList CssClass="DropDownList" ID="ddl_danhmuc" runat="server">
                        </asp:DropDownList></td>
                </tr>   
                <tr>
                    <td style="width:30%">Doanh Nghiệp</td>
                    <td style="width:60%">
                        <asp:DropDownList CssClass="DropDownList" ID="ddl_MaDN" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>   
                           
                    
                <tr>
                    <td style="width:30%">Gía Gốc</td>
                    <td style="width:60%">
                        <asp:TextBox ID="txt_GiaGoc" runat="server"></asp:TextBox>
                    </td>
                </tr>   
                 <tr>
                    <td style="width:30%">Gía Bán</td>
                    <td style="width:60%">
                        <asp:TextBox ID="txt_GiaBan" runat="server"></asp:TextBox>
                    </td>
                </tr>
                 <tr>
                    <td style="width:30%">Ngày Bắt Đầu</td>
                    <td style="width:60%">
                        <asp:TextBox ID="txt_NgayBatDau" runat="server"></asp:TextBox>
                    </td>
                </tr> 
                 <tr>
                    <td style="width:30%">Ngày Hết Hạn</td>
                    <td style="width:60%">
                        <asp:TextBox ID="txt_NgayHetHan" runat="server"></asp:TextBox>
                    </td>
                </tr> 
                 <tr>
                    <td style="width:30%">Số Lượng Bán</td>
                    <td style="width:60%">
                        <asp:TextBox ID="txt_SoLuuongBan" runat="server"></asp:TextBox>
                    </td>
                </tr> 
                 <tr>
                    <td style="width:30%">Số Lượng Tối Đa</td>
                    <td style="width:60%">
                        <asp:TextBox ID="txt_SoLuongToiDa" runat="server"></asp:TextBox>
                    </td>
                </tr>            
                <tr>
                    <td style="width:30%">Mô tả</td>
                    <td style="width:60%"  >                      
                        <asp:TextBox ID="txtmota" runat="server"></asp:TextBox>

                        
                    </td>
                </tr> 
                 <tr>
                    <td style="width:30%">Chiết Khấu</td>
                    <td style="width:60%">
                        <asp:TextBox ID="txt_ChietKhau" runat="server"></asp:TextBox>
                    </td>
                </tr> 
                 <tr>
                    <td style="width:30%">Tinh Trạng</td>
                    <td style="width:60%">
                        <asp:TextBox ID="txt_TinhTrang" runat="server"></asp:TextBox>
                    </td>
                </tr>     
                 <tr>
                    <td style="width:30%">Hình</td>
                    <td style="width:60%">
                       <asp:FileUpload ID="fu_hinh" runat="server" />
                    </td>
                </tr>  
                <tr>
                    <td style="width:30%"></td>
                    <td style="width:60%"><asp:Button ID="btn_them" runat="server" Text="Thêm" OnClick="btn_them_Click"/></td>
                </tr>            
            </table>
        </div>
 </div>
 </div>
</asp:Content>

